//
//  BattleMeteoriteLayer.h
//  SpaceStorm
//
//  Created by 祥 雍 on 13-4-10.
//  Copyright (c) 2013年 __MyCompanyName__. All rights reserved.
//
//  [陨石层]近陨石层和远陨石层，会跟镜头移动而移动，有缩放比
//

#import "cocos2d.h"
#import "Constants.h"
#import "BattleLayerBase.h"

@interface BattleMeteoriteLayer : BattleLayerBase
{
    CCSpriteBatchNode* batch;  
    CGSize size;
    BOOL _isFarMeteorite;   //陨石层的类型,是远陨石层还是近陨石层
    NSMutableDictionary* satrDict;  //星星图的字典
    NSMutableDictionary* posDict;  //星星位置的字典
}

+(id) meteoriteWithType:(BOOL) isFarMeteorite;
-(id) initMeteoriteWithType:(BOOL) isFarMeteorite;
-(void) initStars:(float) scale starNum:(int) starNum;

@end
